
        public class Date
        {
                public int year = 1900;
                public int month = 1;
                public int day = 1;

                public Date() {
                }

                public int getYear() {
                        return year;
                }

                public void setYear(int year) {
                        this.year = year;
                }

                public int getMonth() {
                        return month;
                }

                public void setMonth(int month) {
                        this.month = month;
                }

                public int getDay() {
                        return day;
                }

                public void setDay(int day) {
                        this.day = day;
                }

                public Date(int year, int month, int day) {


                }

                public static void main(String[] args) {
                        Date d1 = new Date(2021, 6, 9);
                        Date d2 = new Date();
                        System.out.println(d1.day);
                }
        }
